import { ElMessage } from "element-plus";

export const success = (message: string) => {
	ElMessage({
		message,
		type: "success",
		duration: 1000
	});
};
export const error = (message: string) => {
	ElMessage({
		message,
		type: "error",
		duration: 2000
	});
};
